﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Web.View.h30_ypzdMenu.Default" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>h30_ypzd</title>
    <script src="/View/js/Alert.js" type="text/javascript"></script> 
    <script type="text/javascript">
        function SetWinData(index) {
            document.getElementById("Hid").value = h30_ypzd_MainStore.getAt(index).get('ypid');
            
			Txtzwmc.setValue(h30_ypzd_MainStore.getAt(index).get('zwmc'));
			Txtbzbm.setValue(h30_ypzd_MainStore.getAt(index).get('bzbm'));
			Txtypflid.setValue(h30_ypzd_MainStore.getAt(index).get('ypflid'));
			Txtypflbm.setValue(h30_ypzd_MainStore.getAt(index).get('ypflbm'));
			Txtypgg.setValue(h30_ypzd_MainStore.getAt(index).get('ypgg'));
			Txtyphl.setValue(h30_ypzd_MainStore.getAt(index).get('yphl'));
			Txthlxs.setValue(h30_ypzd_MainStore.getAt(index).get('hlxs'));
			Txthldw.setValue(h30_ypzd_MainStore.getAt(index).get('hldw'));
			Txtjxflid.setValue(h30_ypzd_MainStore.getAt(index).get('jxflid'));
			Txtspmc.setValue(h30_ypzd_MainStore.getAt(index).get('spmc'));
			Txtywmc.setValue(h30_ypzd_MainStore.getAt(index).get('ywmc'));
			Txtldmc.setValue(h30_ypzd_MainStore.getAt(index).get('ldmc'));
			Txtszbm.setValue(h30_ypzd_MainStore.getAt(index).get('szbm'));
			Txtpybm.setValue(h30_ypzd_MainStore.getAt(index).get('pybm'));
			Txtwbbm.setValue(h30_ypzd_MainStore.getAt(index).get('wbbm'));
			Txtqtbm.setValue(h30_ypzd_MainStore.getAt(index).get('qtbm'));
			Txtsyffid.setValue(h30_ypzd_MainStore.getAt(index).get('syffid'));
			Txtsyplid.setValue(h30_ypzd_MainStore.getAt(index).get('syplid'));
			Txtycjl.setValue(h30_ypzd_MainStore.getAt(index).get('ycjl'));
			Txtyrjl.setValue(h30_ypzd_MainStore.getAt(index).get('yrjl'));
			Txtyjjl.setValue(h30_ypzd_MainStore.getAt(index).get('yjjl'));
			Txtejjl.setValue(h30_ypzd_MainStore.getAt(index).get('ejjl'));
			Txtsjjl.setValue(h30_ypzd_MainStore.getAt(index).get('sjjl'));
			Txtyexs.setValue(h30_ypzd_MainStore.getAt(index).get('yexs'));
			Txtesxs.setValue(h30_ypzd_MainStore.getAt(index).get('esxs'));
			Txtysxs.setValue(h30_ypzd_MainStore.getAt(index).get('ysxs'));
			Txtcfqj.setValue(h30_ypzd_MainStore.getAt(index).get('cfqj'));
			Txtzzbz.setValue(h30_ypzd_MainStore.getAt(index).get('zzbz'));
			Txtpwjj.setValue(h30_ypzd_MainStore.getAt(index).get('pwjj'));
			Txtqtjj.setValue(h30_ypzd_MainStore.getAt(index).get('qtjj'));
			Txtdybz.setValue(h30_ypzd_MainStore.getAt(index).get('dybz'));
			Txtmzbz.setValue(h30_ypzd_MainStore.getAt(index).get('mzbz'));
			Txtgzbz.setValue(h30_ypzd_MainStore.getAt(index).get('gzbz'));
			Txtjsl1.setValue(h30_ypzd_MainStore.getAt(index).get('jsl1'));
			Txtjsl2.setValue(h30_ypzd_MainStore.getAt(index).get('jsl2'));
			Txtjkbz.setValue(h30_ypzd_MainStore.getAt(index).get('jkbz'));
			Txtybfl.setValue(h30_ypzd_MainStore.getAt(index).get('ybfl'));
			Txtabcfl.setValue(h30_ypzd_MainStore.getAt(index).get('abcfl'));
			Txtfylbid.setValue(h30_ypzd_MainStore.getAt(index).get('fylbid'));
			Txtzflx.setValue(h30_ypzd_MainStore.getAt(index).get('zflx'));
			Txtzyyt.setValue(h30_ypzd_MainStore.getAt(index).get('zyyt'));
			Txtyfyl.setValue(h30_ypzd_MainStore.getAt(index).get('yfyl'));
			Txtzysx.setValue(h30_ypzd_MainStore.getAt(index).get('zysx'));
			Txtzcff.setValue(h30_ypzd_MainStore.getAt(index).get('zcff'));
			Txtbzxx.setValue(h30_ypzd_MainStore.getAt(index).get('bzxx'));
			Txtbfxs.setValue(h30_ypzd_MainStore.getAt(index).get('bfxs'));
			Txttyid.setValue(h30_ypzd_MainStore.getAt(index).get('tyid'));
			TxtNumid.setValue(h30_ypzd_MainStore.getAt(index).get('id'));

            h30_ypzd_Win.show();
        }
    </script>
</head>
<body>
    <form id="MainForm" runat="server">
    <ext:ResourceManager ID="MainResourceMgr" runat="server" />
    <!--用来导出到Excel的数据源-->
    <ext:Hidden ID="ExcelGridData" runat="server" />
    <!--h30_ypzd表页面主数据元，自动生成-->
    <ext:Store runat="server" ID="h30_ypzd_MainStore" OnRefreshData="h30_ypzd_DataBind" AutoLoad="true">
        <Proxy>
            <ext:PageProxy />
        </Proxy>
        <Reader>
            <ext:JsonReader IDProperty="ypid">
                <Fields>
                    
					<ext:RecordField Name="ypid" />
					<ext:RecordField Name="zwmc" />
					<ext:RecordField Name="bzbm" />
					<ext:RecordField Name="ypflid" />
					<ext:RecordField Name="ypflbm" />
					<ext:RecordField Name="ypgg" />
					<ext:RecordField Name="yphl" />
					<ext:RecordField Name="hlxs" />
					<ext:RecordField Name="hldw" />
					<ext:RecordField Name="jxflid" />
					<ext:RecordField Name="spmc" />
					<ext:RecordField Name="ywmc" />
					<ext:RecordField Name="ldmc" />
					<ext:RecordField Name="szbm" />
					<ext:RecordField Name="pybm" />
					<ext:RecordField Name="wbbm" />
					<ext:RecordField Name="qtbm" />
					<ext:RecordField Name="syffid" />
					<ext:RecordField Name="syplid" />
					<ext:RecordField Name="ycjl" />
					<ext:RecordField Name="yrjl" />
					<ext:RecordField Name="yjjl" />
					<ext:RecordField Name="ejjl" />
					<ext:RecordField Name="sjjl" />
					<ext:RecordField Name="yexs" />
					<ext:RecordField Name="esxs" />
					<ext:RecordField Name="ysxs" />
					<ext:RecordField Name="cfqj" />
					<ext:RecordField Name="zzbz" />
					<ext:RecordField Name="pwjj" />
					<ext:RecordField Name="qtjj" />
					<ext:RecordField Name="dybz" />
					<ext:RecordField Name="mzbz" />
					<ext:RecordField Name="gzbz" />
					<ext:RecordField Name="jsl1" />
					<ext:RecordField Name="jsl2" />
					<ext:RecordField Name="jkbz" />
					<ext:RecordField Name="ybfl" />
					<ext:RecordField Name="abcfl" />
					<ext:RecordField Name="fylbid" />
					<ext:RecordField Name="zflx" />
					<ext:RecordField Name="zyyt" />
					<ext:RecordField Name="yfyl" />
					<ext:RecordField Name="zysx" />
					<ext:RecordField Name="zcff" />
					<ext:RecordField Name="bzxx" />
					<ext:RecordField Name="bfxs" />
					<ext:RecordField Name="tyid" />
					<ext:RecordField Name="id" />

                </Fields>
            </ext:JsonReader>
        </Reader> 
        <BaseParams>
            <ext:Parameter Name="start" Value="0" Mode="Raw">
            </ext:Parameter>
            <ext:Parameter Name="limit" Value="15" Mode="Raw">
            </ext:Parameter>
        </BaseParams>
    </ext:Store>
    <!--h30_ypzd页面主表格-->
    <ext:Viewport ID="MainViewPort" runat="server">
        <Items>
            <ext:FitLayout>
                <Items>
                    <ext:GridPanel ID="h30_ypzd_Grid" Layout="fit" TrackMouseOver="true" runat="server" StoreID="h30_ypzd_MainStore"
                        StripeRows="true" Header="false" Border="false" Collapsible="true">
                        <TopBar>
                            <ext:Toolbar ID="MainToolBar" runat="server">
                                <Items>
                                    <ext:Button ID="BtnAdd" runat="server" Text="添加" Icon="Add">
                                        <Listeners>
                                            <Click Handler="#{h30_ypzd_MainForm}.getForm().reset();#{Hid}.setValue('');#{h30_ypzd_Win}.show();" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:Button ID="BtnDel" runat="server" Text="删除" Icon="Delete">
                                        <DirectEvents>
                                            <Click OnEvent="BtnDel_Click">
                                                <Confirmation ConfirmRequest="true" Title="确认" Message="确实要删除吗?" />
                                                <EventMask ShowMask="true" Msg="正在删除数据，请等候 ..." />
                                            </Click>
                                        </DirectEvents>
                                        <Listeners>
                                            <Click Handler="if(#{h30_ypzd_Grid}.getSelectionModel().getCount()<=0) {TellAlert('请选择要删除的记录');return false;}" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:ToolbarSeparator />
                                    <ext:Button ID="BtnReload" runat="server" Text="重新加载" Icon="Reload">
                                        <Listeners>
                                            <Click Handler="#{h30_ypzd_MainStore}.reload();" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:ToolbarFill />
                                    <ext:Button ID="BtnToExcel" runat="server" Text="To Excel" AutoPostBack="true" OnClick="BtnSaveToExcel"
                                        Icon="PageExcel">
                                        <Listeners>
                                            <Click Handler="#{ExcelGridData}.setValue(Ext.encode(h30_ypzd_Grid.getRowsValues(false)));" />
                                        </Listeners>
                                        <ToolTips>
                                            <ext:ToolTip Title="将当前页内容存储为Excel文件">
                                            </ext:ToolTip>
                                        </ToolTips>
                                    </ext:Button>
                                </Items>
                            </ext:Toolbar>
                        </TopBar>
                        <ColumnModel ID="h30_ypzd_ColumnMode" runat="server">
                            <Columns>
                                <ext:RowNumbererColumn Width="20" />
                                <ext:Column Header="主键" Sortable="true" Hidden="true" DataIndex="ypid" />
                                
								<ext:Column Header="zwmc" Sortable="true" DataIndex="zwmc" />
								<ext:Column Header="bzbm" Sortable="true" DataIndex="bzbm" />
								<ext:Column Header="ypflid" Sortable="true" DataIndex="ypflid" />
								<ext:Column Header="ypflbm" Sortable="true" DataIndex="ypflbm" />
								<ext:Column Header="ypgg" Sortable="true" DataIndex="ypgg" />
								<ext:Column Header="yphl" Sortable="true" DataIndex="yphl" />
								<ext:Column Header="hlxs" Sortable="true" DataIndex="hlxs" />
								<ext:Column Header="hldw" Sortable="true" DataIndex="hldw" />
								<ext:Column Header="jxflid" Sortable="true" DataIndex="jxflid" />
								<ext:Column Header="spmc" Sortable="true" DataIndex="spmc" />
								<ext:Column Header="ywmc" Sortable="true" DataIndex="ywmc" />
								<ext:Column Header="ldmc" Sortable="true" DataIndex="ldmc" />
								<ext:Column Header="szbm" Sortable="true" DataIndex="szbm" />
								<ext:Column Header="pybm" Sortable="true" DataIndex="pybm" />
								<ext:Column Header="wbbm" Sortable="true" DataIndex="wbbm" />
								<ext:Column Header="qtbm" Sortable="true" DataIndex="qtbm" />
								<ext:Column Header="syffid" Sortable="true" DataIndex="syffid" />
								<ext:Column Header="syplid" Sortable="true" DataIndex="syplid" />
								<ext:Column Header="ycjl" Sortable="true" DataIndex="ycjl" />
								<ext:Column Header="yrjl" Sortable="true" DataIndex="yrjl" />
								<ext:Column Header="yjjl" Sortable="true" DataIndex="yjjl" />
								<ext:Column Header="ejjl" Sortable="true" DataIndex="ejjl" />
								<ext:Column Header="sjjl" Sortable="true" DataIndex="sjjl" />
								<ext:Column Header="yexs" Sortable="true" DataIndex="yexs" />
								<ext:Column Header="esxs" Sortable="true" DataIndex="esxs" />
								<ext:Column Header="ysxs" Sortable="true" DataIndex="ysxs" />
								<ext:Column Header="cfqj" Sortable="true" DataIndex="cfqj" />
								<ext:Column Header="zzbz" Sortable="true" DataIndex="zzbz" />
								<ext:Column Header="pwjj" Sortable="true" DataIndex="pwjj" />
								<ext:Column Header="qtjj" Sortable="true" DataIndex="qtjj" />
								<ext:Column Header="dybz" Sortable="true" DataIndex="dybz" />
								<ext:Column Header="mzbz" Sortable="true" DataIndex="mzbz" />
								<ext:Column Header="gzbz" Sortable="true" DataIndex="gzbz" />
								<ext:Column Header="jsl1" Sortable="true" DataIndex="jsl1" />
								<ext:Column Header="jsl2" Sortable="true" DataIndex="jsl2" />
								<ext:Column Header="jkbz" Sortable="true" DataIndex="jkbz" />
								<ext:Column Header="ybfl" Sortable="true" DataIndex="ybfl" />
								<ext:Column Header="abcfl" Sortable="true" DataIndex="abcfl" />
								<ext:Column Header="fylbid" Sortable="true" DataIndex="fylbid" />
								<ext:Column Header="zflx" Sortable="true" DataIndex="zflx" />
								<ext:Column Header="zyyt" Sortable="true" DataIndex="zyyt" />
								<ext:Column Header="yfyl" Sortable="true" DataIndex="yfyl" />
								<ext:Column Header="zysx" Sortable="true" DataIndex="zysx" />
								<ext:Column Header="zcff" Sortable="true" DataIndex="zcff" />
								<ext:Column Header="bzxx" Sortable="true" DataIndex="bzxx" />
								<ext:Column Header="bfxs" Sortable="true" DataIndex="bfxs" />
								<ext:Column Header="tyid" Sortable="true" DataIndex="tyid" />
								<ext:Column Header="id" Sortable="true" DataIndex="id" />

                            </Columns>
                        </ColumnModel>
                        <Listeners>
                            <RowDblClick Handler="SetWinData(rowIndex);" />
                        </Listeners>
                        <Plugins>
                            <ext:GridFilters runat="server" FiltersText="查找" ID="h30_ypzd_Filter">
                                <Filters>
                                    
								<ext:StringFilter DataIndex="zwmc" />
								<ext:StringFilter DataIndex="bzbm" />
								<ext:StringFilter DataIndex="ypflid" />
								<ext:StringFilter DataIndex="ypflbm" />
								<ext:StringFilter DataIndex="ypgg" />
								<ext:StringFilter DataIndex="yphl" />
								<ext:StringFilter DataIndex="hlxs" />
								<ext:StringFilter DataIndex="hldw" />
								<ext:StringFilter DataIndex="jxflid" />
								<ext:StringFilter DataIndex="spmc" />
								<ext:StringFilter DataIndex="ywmc" />
								<ext:StringFilter DataIndex="ldmc" />
								<ext:StringFilter DataIndex="szbm" />
								<ext:StringFilter DataIndex="pybm" />
								<ext:StringFilter DataIndex="wbbm" />
								<ext:StringFilter DataIndex="qtbm" />
								<ext:StringFilter DataIndex="syffid" />
								<ext:StringFilter DataIndex="syplid" />
								<ext:StringFilter DataIndex="ycjl" />
								<ext:StringFilter DataIndex="yrjl" />
								<ext:StringFilter DataIndex="yjjl" />
								<ext:StringFilter DataIndex="ejjl" />
								<ext:StringFilter DataIndex="sjjl" />
								<ext:StringFilter DataIndex="yexs" />
								<ext:StringFilter DataIndex="esxs" />
								<ext:StringFilter DataIndex="ysxs" />
								<ext:StringFilter DataIndex="cfqj" />
								<ext:StringFilter DataIndex="zzbz" />
								<ext:StringFilter DataIndex="pwjj" />
								<ext:StringFilter DataIndex="qtjj" />
								<ext:StringFilter DataIndex="dybz" />
								<ext:StringFilter DataIndex="mzbz" />
								<ext:StringFilter DataIndex="gzbz" />
								<ext:StringFilter DataIndex="jsl1" />
								<ext:StringFilter DataIndex="jsl2" />
								<ext:StringFilter DataIndex="jkbz" />
								<ext:StringFilter DataIndex="ybfl" />
								<ext:StringFilter DataIndex="abcfl" />
								<ext:StringFilter DataIndex="fylbid" />
								<ext:StringFilter DataIndex="zflx" />
								<ext:StringFilter DataIndex="zyyt" />
								<ext:StringFilter DataIndex="yfyl" />
								<ext:StringFilter DataIndex="zysx" />
								<ext:StringFilter DataIndex="zcff" />
								<ext:StringFilter DataIndex="bzxx" />
								<ext:StringFilter DataIndex="bfxs" />
								<ext:StringFilter DataIndex="tyid" />

                                </Filters>
                            </ext:GridFilters>
                        </Plugins>
                        <LoadMask ShowMask="true" Msg="正在加载..." />
                        <SelectionModel>
                            <ext:CheckboxSelectionModel ID="CheckBoxGrid" runat="server" />
                        </SelectionModel>
                        <BottomBar>
                            <ext:PagingToolbar ID="PagingToolBar" StoreID="h30_ypzd_MainStore" PageSize="15" runat="server" />
                        </BottomBar>
                    </ext:GridPanel>
                </Items>
            </ext:FitLayout>
        </Items>
    </ext:Viewport>
    
    <!--h30_ypzd表修改，添加主窗体-->
    <ext:Window ID="h30_ypzd_Win" Collapsible="true" Hidden="true" Modal="true"
        Maximizable="true" runat="server" Title="添加/修改记录" Icon="WorldEdit" Width="630" AutoHeight="true"
        Resizable="true">
        <Items>
            <ext:Hidden ID="Hid" runat="server">
            </ext:Hidden>
            <ext:FormPanel ID="h30_ypzd_MainForm" LabelWidth="65" Frame="true" runat="server"
                Border="false" Height="750" Padding="5" Icon="UserAdd" Layout="Column">
                <Items>
                    <ext:Panel runat="server" Border="false" Header="false" ColumnWidth=".5" Layout="Form">
                        <Items>
                            
							<ext:TextField ID="Txtzwmc" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zwmc" />
							<ext:TextField ID="Txtypflid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ypflid" />
							<ext:TextField ID="Txtypgg" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ypgg" />
							<ext:TextField ID="Txthlxs" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hlxs" />
							<ext:TextField ID="Txtjxflid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="jxflid" />
							<ext:TextField ID="Txtywmc" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ywmc" />
							<ext:TextField ID="Txtszbm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="szbm" />
							<ext:TextField ID="Txtwbbm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="wbbm" />
							<ext:TextField ID="Txtsyffid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="syffid" />
							<ext:TextField ID="Txtycjl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ycjl" />
							<ext:TextField ID="Txtyjjl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="yjjl" />
							<ext:TextField ID="Txtsjjl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="sjjl" />
							<ext:TextField ID="Txtesxs" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="esxs" />
							<ext:TextField ID="Txtcfqj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="cfqj" />
							<ext:TextField ID="Txtpwjj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="pwjj" />
							<ext:TextField ID="Txtdybz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="dybz" />
							<ext:TextField ID="Txtgzbz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="gzbz" />
							<ext:TextField ID="Txtjsl2" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="jsl2" />
							<ext:TextField ID="Txtybfl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ybfl" />
							<ext:TextField ID="Txtfylbid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="fylbid" />
							<ext:TextField ID="Txtzyyt" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zyyt" />
							<ext:TextField ID="Txtzysx" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zysx" />
							<ext:TextField ID="Txtbzxx" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="bzxx" />
							<ext:TextField ID="Txttyid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="tyid" />

                        </Items>
                    </ext:Panel>
                    <ext:Panel runat="server" Border="false" Header="false" ColumnWidth=".5" Layout="Form">
                        <Items> 
                            
							<ext:TextField ID="Txtbzbm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="bzbm" />
							<ext:TextField ID="Txtypflbm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ypflbm" />
							<ext:TextField ID="Txtyphl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="yphl" />
							<ext:TextField ID="Txthldw" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="hldw" />
							<ext:TextField ID="Txtspmc" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="spmc" />
							<ext:TextField ID="Txtldmc" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ldmc" />
							<ext:TextField ID="Txtpybm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="pybm" />
							<ext:TextField ID="Txtqtbm" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="qtbm" />
							<ext:TextField ID="Txtsyplid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="syplid" />
							<ext:TextField ID="Txtyrjl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="yrjl" />
							<ext:TextField ID="Txtejjl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ejjl" />
							<ext:TextField ID="Txtyexs" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="yexs" />
							<ext:TextField ID="Txtysxs" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="ysxs" />
							<ext:TextField ID="Txtzzbz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zzbz" />
							<ext:TextField ID="Txtqtjj" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="qtjj" />
							<ext:TextField ID="Txtmzbz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="mzbz" />
							<ext:TextField ID="Txtjsl1" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="jsl1" />
							<ext:TextField ID="Txtjkbz" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="jkbz" />
							<ext:TextField ID="Txtabcfl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="abcfl" />
							<ext:TextField ID="Txtzflx" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zflx" />
							<ext:TextField ID="Txtyfyl" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="yfyl" />
							<ext:TextField ID="Txtzcff" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="zcff" />
							<ext:TextField ID="Txtbfxs" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="bfxs" />
							<ext:NumberField ID="TxtNumid" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="id" />

                        </Items>
                    </ext:Panel>
                </Items>
            </ext:FormPanel>
        </Items>
        <Buttons> 
            <ext:Button Text="提交" ID="BtnSave" runat="server" Icon="Disk">
                <DirectEvents>
                    <Click OnEvent="BtnSave_Click">
                        <EventMask ShowMask="true" Msg="正在提交，请等候 ..."  />
                    </Click>
                </DirectEvents>
                <Listeners>
                    <Click Handler="if (#{h30_ypzd_MainForm}.getForm().isValid()) {;}else{Ext.Msg.show({icon: Ext.MessageBox.ERROR, msg: '您填写的信息不正确，请您确认！', buttons:Ext.Msg.OK});return false;}" />
                </Listeners>
            </ext:Button>
            <ext:Button Text="取消" ID="BtnConcel" Icon="Delete">
                <Listeners>
                    <Click Handler="#{h30_ypzd_Win}.hide();" />
                </Listeners>
            </ext:Button>
        </Buttons>
    </ext:Window>
    </form>
</body>
</html>
